from django.db import models


# Create your models here.
class Role(models.Model):
    role_name = models.CharField(max_length=50, unique=True, verbose_name='角色名')
    role_en = models.CharField(max_length=50, unique=True, verbose_name='角色标识')
    description = models.TextField(verbose_name='角色描述', blank=True, null=True)
    create_time = models.DateField(auto_now_add=True)

    class Meta:
        db_table = 'role'
